package com.jy.appmarket.screenlock.database;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.NotNull;
import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.annotation.PrimaryKey.AssignType;
import com.litesuits.orm.db.annotation.Unique;

/**
 * 类说明：
 * 
 * @author jie.li
 * @date 2015-4-30
 * @version 1.0.0
 */

@Table("customMessageTb")
public class CustomMessageTb {
	public static final String COL_ID = "_id";
	public static final String COL_PKG_NAME = "pkgName";
	public static final String COL_APP_NAME = "appName";
	public static final String COL_CUSTOM_MESSAGE_TYPE = "customMessageType";

	@PrimaryKey(AssignType.AUTO_INCREMENT)
	@Column(COL_ID)
	public long id;

	@Unique
	@NotNull
	@Column(COL_PKG_NAME)
	private String pkgName;

	@Column(COL_APP_NAME)
	private String appName;

	@Column(COL_CUSTOM_MESSAGE_TYPE)
	private int type;

	public String getPkgName() {
		return pkgName;
	}

	public void setPkgName(String pkgName) {
		this.pkgName = pkgName;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
